package com.wonking.springbootv2.ioc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@EnableAutoImport
public class ImportSelectionMain {

    public static void main(String[] args){
        ConfigurableApplicationContext ca= SpringApplication.run(ImportSelectionMain.class,args);
        FirstClass fc=ca.getBean(FirstClass.class);
        System.out.println(fc);
    }

}
